package com.qwt.part_time_api.service;

import com.qwt.part_time_api.error.BusinessException;
import com.qwt.part_time_api.vo.Result;
import com.qwt.part_time_api.vo.params.RegisterParams;

/**
 * @Author 君子慎独
 * @create 2022/1/21 0021 0:35
 */
public interface RegisterService {

    /**
     * 注册用户
     *
     * @param params 参数
     * @return 返回yes or no
     */
    Result saveUser(RegisterParams params) throws BusinessException;
}
